package com.files.chain;

import com.files.listener.FileListener;

import java.util.ArrayList;
import java.util.List;

public class FileChain {

    static List<FileListener> fileListenerList=new ArrayList<>();

    public static List<FileListener> getListensers() {
        return fileListenerList;
    }

    public static void RegisterListensers(FileListener fileListener){
        fileListenerList.add(fileListener);
    }

}
